package com.qf.dao;

import com.qf.pojo.po.PlaneOrder;
import com.qf.pojo.po.planeAll;
import com.qf.pojo.resp.PlaneOrderResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PlaneOrderMapper {
    Integer insertOrder(PlaneOrder planeOrder);
    List<PlaneOrderResp> findXcOrderById(@Param("userId") Integer userId);

    int deleteOrder(String orderId);
    int deleteOrderDetail(String orderDetailId);
    int updatePlaneTickets(planeAll plane);
}
